#ifndef TENNISCLUB_H_
#define TENNISCLUB_H_

#include<string>
using namespace std;

class TennisClubPlayer {
private:
    string name;
    bool hasBall;

public:
    TennisClubPlayer(const string& n = "None", bool hB = false);
    void Name() const;
    bool HasBall() const {return hasBall;};
    void ResetBall(bool HbIn) {hasBall = HbIn;};
};

class RatedPlayer : public TennisClubPlayer {
private:
    unsigned int rating;

public:
    RatedPlayer(unsigned int r, const string& name = "None", bool hB = false);
    RatedPlayer(unsigned int r, TennisClubPlayer& TC);                  
    unsigned int Rating() const {return rating;};
    void ResetRating(bool RatingIN) {rating = RatingIN;};
};

#endif